package com.example.demo.OneToOne.Repository;

import com.example.demo.OneToOne.entity.Student;
import org.springframework.data.jpa.repository.JpaRepository;

public interface StudentRepository extends JpaRepository<Student,Long> {
    Student findById(long id);
    Student deleteById(long id);
}
